<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>艺巢俱乐部-会员列表</title>
<jsp:include page="header.jsp"></jsp:include>
</head>
<body>
	<jsp:include page="navigation.jsp"></jsp:include>
	<div style="align: center; margin-left: 20px;">
		<table class="table">
			<tbody>
				<!-- On rows -->
				<tr class="active">
					<td class="">序号</td>
					<td class="">姓名</td>
					<td>性别</td>
					<td>工作单位</td>
					<td>职务</td>
					<td></td>
				</tr>
				<c:forEach var="mbr" items="${mlist}" varStatus="status">
					<tr>
						<td class="info">${status.index+1 }</td>
						<td class="info">${mbr.uname }</td>
						<td class="info">${mbr.sex=='1'?"男":"女" }</td>
						<td class="info">${mbr.corp }</td>
						<td class="info">${mbr.position }</td>
						<td class="info">
							<c:if test="${user.councilMember != '0'}">
							<button type="button" class="btn btn-success" onclick="window.location.href='${pageContext.request.contextPath}/member/getMember.acc?sid=${mbr.sid }'">
							<span class="glyphicon  glyphicon-list-alt" aria-hidden="true"></span>
							详情</button>
							<button type="button" class="btn btn-success" onclick="window.location.href='${pageContext.request.contextPath}/navigation/addOrder.acc?sid=${mbr.sid }'">
							<span class="glyphicon  glyphicon-tag" aria-hidden="true"></span>
							下单</button>
							</c:if>
							</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
</body>
</html>